/*
 * @Description: 类
 * @Author: rendc
 * @Date: 2023-11-20 14:56:56
 * @LastEditors: rendc
 * @LastEditTime: 2023-11-20 15:06:24
 */
class Module {
  // 静态成员属性
  private int num;
  // 构造代码块
  {
    System.out.println("构造代码块");
    System.out.println("Module的构造方法被调用");
  }
  public Module(){
    System.out.println("构造方法");
  }
  public Module(int num){
    System.out.println("有参构造方法");
    this.num = num;
  }
}